package com.castle.fortress.admin.study.exam.entity;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
/**
 * 试卷统计 实体类
 *
 * @author castle
 * @since 2023-02-16
 */
@Data
@TableName("study_exam_statistics")
public class StudyExamStatisticsEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 人员ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long memberId;
	/**
	 * 试卷id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long examId;
	/**
	 * 最高分记录id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long recordId;
	/**
	 * 耗时，单位秒
	*/
	private Integer timeConsuming;
	/**
	 * 答题时间
	*/
	private Date quizTime;
	/**
	 * 最高成绩
	*/
	private Integer highScore;
	/**
	 * 考试次数
	*/
	private Integer examNum;
	@ApiModelProperty("状态")
	private Integer status;
	/**
	 * 会员名称
	 */
	@TableField(exist = false)
	private String memberName;
	/**
	 * 删除状态
	 */
	@ApiModelProperty("删除状态")
	private Integer isDelete;
}
